package com.example.demo;

import java.nio.ByteBuffer;

/**
 * <内容说明>
 *
 * @author yu.guangqi
 * created on 2018/12/17 9:49
 */
public class ByteBufMain {

    public static void main(String[] args) {
        ByteBuffer buffer = ByteBuffer.allocate(10);
        buffer.putInt(65555555);
        buffer.putShort((short)2);
    }
}
